package cn.wolfcode.service;

import cn.wolfcode.domain.MenuCatalogue;
import cn.wolfcode.qo.MenuCatalogueObject;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface IMenuCatalogueService {

    void save(MenuCatalogue menuCatalogue);

    void delete(Long id);

    void update(MenuCatalogue menuCatalogue);

    MenuCatalogue get(Long id);

    List<MenuCatalogue> listAll();

    // 分页查询方法
    PageInfo<MenuCatalogue> query(MenuCatalogueObject qo);

    void updateStatus(Long id, int status);
}